package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Address;

import java.util.List;

public interface IAddressService extends IService<Address> {
    List<Address> addressList();

    void saveAddress(Address address);

    void setDefault(Long id);

    Address findDefault();

    Address findAddressById(Long id);

    void updateAddress(Address address);

    void deletedAddress(Long ids);
}
